<div class="clear"></div>
<div id="footer">

<div class="renzheng"><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/fot_1.jpg" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/fot_2.jpg" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/taoke.gif" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/fot_3.jpg" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/fot_4.jpg" />
</div>

<div class="renzheng"><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/buliang.gif" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/bottom.gif" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/110.jpg" /><img src="<?=$navheadurl?>template/<?=MOBAN?>/images/315online.gif" /></div>

<div class="tj" style="font-size:10px">
  <!--版权开始-->Copyright ©2008-2012&nbsp;&nbsp;<a href="http://<?php echo URL;?>"><?php echo WEBTITLE;?></a>&nbsp; 版权所有<a href="http://blog.cscsws.com"><span style="color:#006600"></span></a>&nbsp;&nbsp;&nbsp;<a href="http://www.miibeian.gov.cn"><?php echo ICP;?></a>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo TONGJI;?><!--end--><br /><br />
<div style=" color:#999999">Power By <a href="http://www.cscsws.com" style="font-size:10px"><span style="color:#FF6600">吃啥</span><span style="color:#006600">穿啥</span><span style="color:#FF6600">玩啥</span></a></div>
  <br /></div>
</div>
</div>

<div id="searchtip">
<div class="xha001">
<div class="xhafont">
<div class="word">
粘贴您刚才看的<b>“淘宝商品地址”</b>到这里购物拿返利！
</div>
<div class="zhizhen">&nbsp;</div>
</div>
<form action="<?=$navheadurl?>view.php" target="_blank" onsubmit="jumpboxClose()">
<input type="hidden" name="search" value="1" />
<div class="xhasearch"><div class="xhasearch2"><input class="xhasearch3" name="q" type="text" /><input class="xhasearch4" value="&nbsp;" name="sub" type="submit" /></div></div>
</form>
<div class="xhalinks">
<div>1、去淘宝网选择自己喜欢的商品。</div>
<div>2、到本站搜索“淘宝商品网址”获取返利链接。</div>
<div>3、确认付款，拿本站额外返的现金。</div>
</div>
</div>
</div>

<?php
//左侧客服
$sql="select * from ".$BIAOTOU."service order by id asc";
$zckf=mysql_query($sql);
?>
<!--   客服开始    -->
<?php if(SERVICEOPEN==1){?>
<div id="xixi" onmouseover="toBig()" onmouseout="toSmall()">
<table style="float: left" border="0" cellSpacing="0" cellPadding="0" width="157">
  <tbody>
  <tr>
    <td class=main_head height=39 vAlign=top>&nbsp;</td></tr>
  <tr>
    <td class=sinfo vAlign=top>
       <table border="0" cellspacing="0" cellpadding="0">
       <?php $i=0; while($row=mysql_fetch_array($zckf)){?>
         <tr>
         <td><?=$row['name']?>
         <?php if($row['type']==2){?>
         <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?=urlencode($row['code'])?>&site=cntaobao&s=1&charset=utf-8"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?=urlencode($row['code'])?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" /></a>
         <?php }else{?>
         <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?=$row['code']?>&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<?=$row['code']?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
         <?php }?>
         </td>
         </tr>
      <?php $i++;}?>
      <?php for($i;$i<=3;$i++){?>
      <tr><td></td></tr>
      <?php }?>
</table>    
 
    </td>
    </tr>
  <tr>
    <td class=down_kefu vAlign=top></td>
    </tr>
    </tbody>
    </table>
 
<div class="Obtn"></div>
</DIV>
<SCRIPT language=javascript>
		客服果果=function (id,_top,_left){
		var me=id.charAt?document.getElementById(id):id, d1=document.body, d2=document.documentElement;
		d1.style.height=d2.style.height='100%';me.style.top=_top?_top+'px':0;me.style.left=_left+"px";//[(_left>0?'left':'left')]=_left?Math.abs(_left)+'px':0;
		me.style.position='absolute';
		setInterval(function (){me.style.top=parseInt(me.style.top)+(Math.max(d1.scrollTop,d2.scrollTop)+_top-parseInt(me.style.top))*0.1+'px';},10+parseInt(Math.random()*20));
		return arguments.callee;
		};
		window.onload=function (){
		客服果果
		('xixi',100,-152)
		}
	</SCRIPT>
<SCRIPT language=javascript> 
			lastScrollY=0; 
			
			var InterTime = 1;
			var maxWidth=-1;
			var minWidth=-152;
			var numInter = 8;
			
			var BigInter ;
			var SmallInter ;
			
			var o =  document.getElementById("xixi");
				var i = parseInt(o.style.left);
				function Big()
				{
					if(parseInt(o.style.left)<maxWidth)
					{
						i = parseInt(o.style.left);
						i += numInter;	
						o.style.left=i+"px";	
						if(i==maxWidth)
							clearInterval(BigInter);
					}
				}
				function toBig()
				{
					clearInterval(SmallInter);
					clearInterval(BigInter);
						BigInter = setInterval(Big,InterTime);
				}
				function Small()
				{
					if(parseInt(o.style.left)>minWidth)
					{
						i = parseInt(o.style.left);
						i -= numInter;
						o.style.left=i+"px";
						
						if(i==minWidth)
							clearInterval(SmallInter);
					}
				}
				function toSmall()
				{
					clearInterval(SmallInter);
					clearInterval(BigInter);
					SmallInter = setInterval(Small,InterTime);
					
				}
				
</SCRIPT>
<!--   客服结束    -->
<?php }?>